Skip to content

Add config for 2910vision: Don't merge until we tag main for bearcudb - #79

Open
cgpadwick wants to merge 3 commits into
mainfrom
2910vision
Open

Add config for 2910vision: Don't merge until we tag main for bearcudb#79
cgpadwick wants to merge 3 commits into
mainfrom
2910vision

Conversation

@cgpadwick

Copy link
Copy Markdown
Collaborator

No description provided.

@cgpadwick
cgpadwick requested a review from maxspier July 7, 2025 02:43

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason the rotation isn't the identity matrix? I'm not too familiar with this math but figured it should probably be [1,0,0]
[0,1,0]
[0,0,1]
right?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it was the identity matrix then the apriltag would be in camera coordinates instead of robot coords. I go through it in this doc: https://github.com/Team766/apriltags_cuda/blob/main/doc/rotations.pdf but the short answer is rotating by 0 degrees around Z, -90 around Y and 90 degrees around X converts from camera coords to robot coords for a front facing camera with no rotation. That is to say that after the rotation the Z axis of the camera is aligned with the X axis of the robot, and the Y axis of the camera is aligned with -Z on the robot.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do need to check the orientation on the robot, and basically figure out which way +X points. I assume that the front of the robot will be towards the intake, but we need to check. It was actually backwards from the CAD on bearcudb!

Comment thread src/ws_server.cu

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably keep the frame rate here relatively low as only one camera is going to be used. Do you think 12fps is okay?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be about 10 fps as it is now. I changed it from 2 which seemed quite low to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants